#A world has just metadata which is a very general representation of the world
#A world starts at 0,0 (implicit height) and can be configured to be any
#dimension, each unit being a cell


WORLD_XP = 0;
WORLD_XN = 1;
WORLD_YP = 2;
WORLD_YN = 3;
WORLD_ZP = 4;
WORLD_ZN = 5;

WORLD_X = (1,-1,0,0,0,0)
WORLD_Y = (0,0,1,-1,0,0)
WORLD_Z = (0,0,0,0,1,-1)

class World:

    def load_block(self,coord,lod):
        """
        Load a block for the persistent storage (or return what is in memory).
        Returns a block object at the give world coordinates (see subspace coords)

        @param coord The location of the block to load
        @param lod the level of detail to load, how far into the block to load
            0 = none (only load the actual block)
            1 = first level children
            2 = second level... etc.
        """
        pass;
